package com.qupai.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class PtPrizesDTO implements Serializable {
    private Long id;
    //奖品名称
    private String name;
    //图片
    private String image;
    //描述信息
    private String description;
    //0 停售 1 起售
    private Integer status;
    //库存
    private Long stock;
    //价格
    private BigDecimal price;
    //关联部门活动
    private Long activitiesId;
    //关联部门
    private Long organizationsId;
    //关联学院
    private Long collegesId;
    //上架时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime onShelfTime;
    //下架时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime offShelfTime;

}
